ANKARA, Turkey (AP) — The recent rapid advance by opposition fighters in Syria shows that Syrian President Bashar Assad must reconcile with his own people and hold dialogue with the opposition, the Turkish foreign minister said Monday.

At a joint news conference in Ankara with his Iranian counterpart, Hakan Fidan said Turkey and Iran, which support opposing sides in Syria's civil war, have agreed to resume diplomatic efforts along with Russia to restore calm days after insurgents launched a lightning offensive and captured almost all of the country's largest city, Aleppo.

The swift advance by fighters that Turkey supports was a huge embarrassment for Assad and it comes at a time when his allies — Iran and groups it backs and Russia — are preoccupied with their own conflicts.

The push is among the rebels’ strongest in years and raises the prospect of another violent front reopening in the Middle East when U.S.-backed Israel is fighting Hamas in Gaza and Hezbollah in Lebanon, both Iranian-allied groups.

Fidan, whose country has backed forces opposed to Assad, blamed the recent flare-up of the conflict on the Syrian government’s refusal to enter a dialogue with the opposition that Turkey supports.

“Recent developments show once again that Damascus must reconcile with its own people and the legitimate opposition,” the Turkish minister said. “Turkey is ready to make all the necessary contribution toward this.”

Fidan's comments emerged amid Turkish frustration that recent efforts toward a reconciliation with Assad have fallen flat. The comments indicated that the shock offensive launched by opposition fighters could be aimed at pressuring the Syrian leader to engage in political talks.

Turkey has been seeking to normalize ties with Syria to address security threats from groups affiliated with Kurdish militants along its southern border and to help ensure the safe return of more than 3 million Syrian refugees. Assad has insisted that Turkey’s withdrawal of its forces from northern Syria be a condition for any normalization between the two countries.

Iranian Foreign Minister Abbas Araghchi, who visited Assad on Sunday before traveling to Ankara, reiterated Tehran’s full support for the Syrian government. Iran has been one of Assad’s principal political and military supporters and has deployed military advisers and forces after 2011 protests against Assad’s rule turned into an all-out war.

Iranian-backed Iraqi militias have deployed in Syria to back the government’s counteroffensive against the insurgents, an Iraqi militia official and a war monitor said Monday.

According to the Syrian Observatory for Human Rights, a Britain-based opposition war monitor, some 200 Iraqi militiamen riding on pickups crossed into Syria overnight through the strategic Bou Kamal crossing. They were expected to deploy in Aleppo to support the Syrian army’s pushback against the insurgents, the monitor said.

Meanwhile, Associated Press video showed armed insurgents at Aleppo's international airport, one of them standing on a Syrian government flag and others tearing down a poster of Assad. Insurgents were also seen mounting abandoned aircraft and walking around airport grounds strewn with weapons and ammunition boxes.

The rebel offensive in Syria has caused concern among neighboring countries that the conflict could spill over. In Iraq, Interior Ministry spokesperson Brig. Gen. Miqdad Miri said security forces have deployed in greater numbers to protect their large border with Syria.

Fidan reiterated Turkey’s support for Syria’s territorial integrity, but suggested that Turkey would not hesitate to intervene against Syrian Kurdish militia groups that Turkey considers to be terrorists if they “exploit the environment of instability.”

“It was a mistake to ignore the legitimate demands of the opposition and for the (Syrian) regime not to sincerely engage in the political process,” Fidan said.

Turkey, he added, "will never, ever allow terrorist organizations that seek to exploit the environment of instability," Fidan said. “We will eliminate any threat to our national security and our people wherever it emerges.”

Turkish President Recep Tayyip Erdogan expressed hope that the instability in Syria would come to an end “in line with the legitimate demands of the Syrian people.” He spoke Monday at a joint news conference with the president of Montenegro.

Both Fidan and Araghchi said Turkey, Iran and Russia would convene a new three-way meeting to address the conflict in Syria.

"We have decided to hold closer consultations and dialogue, and with God’s permission, we will cooperate to further improve the situation toward peace and stability in our region,” Araghchi said.

Russia, whose intervention in Syria’s civil war on behalf of Assad was crucial in turning the conflict in his favor, has said it will continue to support him.

“We continue our contacts at the appropriate level,” Kremlin spokesman Dmitry Peskov told reporters Monday. “A position will be formed regarding what is needed to stabilize the situation.”

The U.S. ambassador to the United Nations, Linda Thomas-Greenfield, said the Assad regime has ignored Security Council resolutions and refused to come to the table.

“We are watching that situation very closely, and we will continue to engage with partners in the region to find a path for the situation to go back to calm,” she said.

As Syrian and Russian jets continued pounding targets, two airstrikes hit a group of four hospitals and the health directorate building in Idlib city, the Syrian Civil Defense force that operates in opposition-held areas, known as the White Helmets, said.

Two people in Idlib University Hospital died after their oxygen machines turned off following the strikes. Ceiling panels and doors at the hospital were blown off, while ambulances and vehicles outside were severely damaged according to footage taken by journalist with The Associated Press at the hospital.

At least 15 civilians were killed in Idlib city and province, according to the White Helmets.

Syrian Kurds were fleeing the fighting in large numbers after Turkish-backed rebels seized Tel Rifaat from rival U.S.-backed Kurdish authorities. The Kurdish-led Syrian Democratic Forces largely withdrew and called for a humanitarian corridor to allow people to leave safely in convoys toward Aleppo and later to Kurdish-led northeast regions.

___

Chehayeb reported from Beirut. Associated Press writers Nasser Karimi in Tehran, Iran, and Qassim Abdul-Zahra in Baghdad contributed to this report.

This photo provided by the Syrian Civil Defence White Helmets, which has been authenticated based on its contents and other AP reporting, shows a Syrian White Helmet civil defence worker running in a destroyed neighborhood after the Syrian government forces hit Idlib city, Syria, Monday, Dec. 2, 2024. (Syrian Civil Defence White Helmets via AP)

Credit: AP

icon to expand image

Credit: AP

This photo provided by the Syrian Civil Defence White Helmets, which has been authenticated based on its contents and other AP reporting, shows Syrian residents gather near destroyed buildings, after Syrian government forces hit Idlib city, Syria, Monday, Dec. 2, 2024. (Syrian Civil Defence White Helmets via AP)

Credit: AP

icon to expand image

Credit: AP

A Syrian official flag lies on the ground as opposition fighters stand on the tarmac of the Aleppo international airpot in Aleppo Monday, Dec. 2, 2024. .(AP Photo/Omar Albam)

Credit: AP

icon to expand image

Credit: AP

This photo provided by the Syrian Civil Defence White Helmets, which has been authenticated based on its contents and other AP reporting, shows a Syrian White Helmet civil defence worker and civilians carry a victim after the Syrian government forces hit Idlib city, Syria, Monday, Dec. 2, 2024. (Syrian Civil Defence White Helmets via AP)

Credit: AP

icon to expand image

Credit: AP

This photo provided by the Syrian Civil Defence White Helmets, which has been authenticated based on its contents and other AP reporting, shows Syrian White Helmet civil defence workers stand in a burning building after the Syrian government forces hit Idlib city, Syria, Monday, Dec. 2, 2024. (Syrian Civil Defence White Helmets via AP)

Credit: AP

icon to expand image

Credit: AP

A young man waits for treatment for his injuries at a hospital in Idlib, Syria, Sunday Dec. 1, 2024. Government airstrikes in Idlib killed at least three civilians, including two children, and wounded 11 others, said the Syrian Civil Defense, known as the White Helmets, which operates in opposition-held areas. (AP Photo/Omar Albam)

Credit: AP

icon to expand image

Credit: AP

This photo released on the official Telegram page of the Syrian Presidency shows Iranian Foreign Minister Abbas Araghchi, left, and Syrian President Bashar Assad meeting in Damascus, Syria, Sunday, Dec. 1, 2024. (Syrian Presidency Telegram page via AP)

Credit: AP

icon to expand image

Credit: AP

Gen. Mohammad Abd al-Wahhab Sukar Commander of Iraq's Border Forces, speaks at a press conference in Baghdad, Iraq, Monday, Dec. 2, 2024. (AP Photo/Hadi Mizban)

Credit: AP

icon to expand image

Credit: AP

The President of the National Coalition of Syrian Revolution and opposition, Hadi Al-Bahra, speaks to the media during a press conference in Istanbul, Turkey, Monday, Dec. 2, 2024. (AP Photo/Khalil Hamra)

Credit: AP

icon to expand image

Credit: AP

Syrian opposition fighters stand on an aircraft at the Al-Nayrab military airport after they took control of the facility in the outskirts of Aleppo, Syria, Monday, Dec. 2, 2024. .(AP Photo/Omar Albam)

Credit: AP

icon to expand image

Credit: AP

Syrian opposition fighters ride on a motorcycle past Syrian army planes at the Al-Nayrab military airport after they took control of the facility in the outskirts of Aleppo, Syria, Monday, Dec. 2, 2024. .(AP Photo/Omar Albam)

Credit: AP

icon to expand image

Credit: AP

Syrian opposition fighters stand next to old military planes at the Al-Nayrab military airport after they took control of the facility in the outskirts of Aleppo, Syria, Monday, Dec. 2, 2024. .(AP Photo/Omar Albam)

Credit: AP

icon to expand image

Credit: AP

Syrian opposition fighters stand on the wings of an old aircraft at the Al-Nayrab military airport after they took control of the facility in the outskirts of Aleppo, Syria, Monday, Dec. 2, 2024. .(AP Photo/Omar Albam)

Credit: AP

icon to expand image

Credit: AP

A Syrian opposition fighter sits on an office chair posing for a picture at arrivals gate of the Aleppo international airport in Aleppo, Syria, Monday, Dec. 2, 2024. .(AP Photo/Omar Albam)

Credit: AP

icon to expand image

Credit: AP

Syrian opposition fighters hang out at the arrivals gate of the Aleppo international airpot in Aleppo, Syria, Monday, Dec. 2, 2024. .(AP Photo/Omar Albam)

Credit: AP

icon to expand image

Credit: AP

Syrian opposition fighters stand at the entrance of the Aleppo international airpot in Aleppo, Syria, Monday, Dec. 2, 2024. .(AP Photo/Omar Albam)

Credit: AP

icon to expand image

Credit: AP

Syrian opposition fighters remove a sign with a picture of Syrian President Bashar Assad at the Aleppo international airpot in Aleppo, Syria, Monday, Dec. 2, 2024. .(AP Photo/Omar Albam)

Credit: AP

icon to expand image

Credit: AP

Syrian opposition fighters ride on a pick-up truck at the Aleppo international airpot in Aleppo Monday, Dec. 2, 2024. .(AP Photo/Omar Albam)

Credit: AP

icon to expand image

Credit: AP

Military equipment is scattered outside the airport as opposition fighters control the facility in Aleppo Monday, Dec. 2, 2024. .(AP Photo/Omar Albam)

Credit: AP

icon to expand image

Credit: AP

A man tries to put out the fire caused by an airstrike with a fire extinguisher outside a hospital complex in Idlib, Syria, Monday Dec.2, 2024.(AP Photo/Ghaith Alsayed)

Credit: AP

icon to expand image

Credit: AP

A man takes a pictures of a damaged ambulance after an airstrike outside a hospital complex in Idlib, Syria, Monday Dec.2, 2024.(AP Photo/Ghaith Alsayed)

Credit: AP

icon to expand image

Credit: AP

A car burns after an airstrike next to a hospital in Idlib, Syria, Monday Dec.2, 2024.(AP Photo/Ghaith Alsayed)

Credit: AP

icon to expand image

Credit: AP